<template>
  <div class="page">
    <el-pagination
      background
      layout="prev, pager, next, total, sizes"
      @current-change="handleSizeChange"
      :total="1000">
    </el-pagination>
  </div>
</template>

<script>
export default {
  name: 'Page',
	methods: {
		handleSizeChange(val) {
			console.log(val)
			window.scrollTo(0, 0);
		}
	}
}
</script>

<style scoped lang="scss">
.page {
	// color: $main-color;
}
</style>
